home *** CD-ROM | disk | FTP | other *** search
/ Shareware Super Platinum 8 / Shareware Super Platinum 8.iso / mac / DATABASE / AUTIMP21.ZIP;1 / AITEST.ZIP / README.PRN < prev    next >
Encoding:
Text File  |  1993-08-06  |  89.9 KB  |  2,311 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.            "README.DOC" File for the Test Drive version of AutoImport 2.1
  8.  
  9.                              Spalding Software, Inc.
  10.                         154 Technology Parkway, Suite 250
  11.                                Norcross, GA  30092
  12.                                       USA
  13.                    Voice: (404) 449-1634    Fax: (404) 449-0052
  14.  
  15.      The Demo & Test Drive diskette kit includes a user's guide that provides
  16.      introductory information about how to use the AutoImport Test Drive.  This
  17.      file provides additional and more detailed information about using
  18.      AutoImport.
  19.  
  20.      REMEMBER:
  21.  
  22.           To run the Demo, type AIDEMO and press <Enter>
  23.  
  24.           To run the Test Drive, type AI and press <Enter>
  25.  
  26.  
  27.  
  28.      FILES --------------------------------------------------------------------
  29.  
  30.      Three files are involved in a file translation using AutoImport: Input,
  31.      Output, and Mask.  The Input File contains the information that you want to
  32.      translate.  You use AutoImport to create a Mask, which is a set of
  33.      instructions that tell AutoImport how to translate the Input File.  During
  34.      translation, AutoImport creates an Output File containing the translated
  35.      data.
  36.  
  37.  
  38.      >> INPUT FILES <<
  39.  
  40.      The Input File contains the data you want to translate.  The file can be
  41.      any ASCII file.  The Input File is typically a print file or output from
  42.      another computer, such as a mainframe or a PC.  The Printer Interceptor
  43.      utility can also create Input Files by capturing output sent to a printer
  44.      port.
  45.  
  46.      There is no limit to the record size of the file or the number of records
  47.      in the file.  However, information can only be translated from the first
  48.      1024 characters of each record.
  49.  
  50.      AutoImport can handle files that have their information formatted many
  51.      different ways.  Files that have their data in a columnar format are easier
  52.      to work with.  Utilities are provided that convert several types of non-
  53.      ASCII and non-columnar files into ASCII columnar files.
  54.  
  55.      The Input File can contain printer control codes (ASCII characters 0
  56.      through 31).  The control codes can be removed by using the Mask Screen's
  57.      Exclude Characters option.
  58.  
  59.  
  60.      SPECIFYING AN INPUT FILE FOR TRANSLATION
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71.  
  72.  
  73.      The Input File containing the information to be translated can be selected
  74.      from either the Mask Screen or the Translation Screen.  When a mask is
  75.      created, the name of the file that was displayed during the definition
  76.      process is saved as part of the mask.  AutoImport uses this as the default
  77.      file name to translate.  This file name can be changed or overridden at the
  78.      Translation Screen.
  79.  
  80.  
  81.      CONVERTING FILES FOR USE AS AN INPUT FILE
  82.  
  83.      Prior to displaying a file for mask definition, you may want to convert the
  84.      file using the functions available from the Utilities Screen.  These
  85.      functions make mask definition easier and more effective for certain types
  86.      of files.  Following are the types of conversions that are available:
  87.  
  88.      LINE-SPLIT     Splits the Input File vertically by producing two or more
  89.                     files, each with a shorter specified record length.
  90.  
  91.      RECORD-SPLIT   Splits a file with a large number of records into several
  92.                     files, each with a specified number of lines.
  93.  
  94.      TABS           Expands tabs by inserting spaces to align the data in
  95.                     columns. 
  96.  
  97.      CSV            Converts comma separated value file to fixed length column
  98.                     file. 
  99.  
  100.      FIXED          Breaks up a file with fixed length records without record
  101.                     separators into a fixed length file with record separators.
  102.  
  103.      UNSTACK        Makes single-line items of multiple lines that logically go
  104.                     together.
  105.  
  106.      DBASE          Converts a dBase II, III, or IV data file into an ASCII
  107.                     columnar file with the database field names above each
  108.                     column.
  109.  
  110.      EBCDIC to ASCII     Converts a file that has been downloaded from an IBM
  111.                          mainframe or midrange computer that has EBCDIC encoding
  112.                          into an ASCII encoded file.
  113.  
  114.  
  115.      CAPTURING PRINTER OUTPUT FOR USE AS AN INPUT FILE
  116.  
  117.      Some applications cannot print their output to a disk file.  AutoImport's
  118.      Printer Interceptor is a Terminate and Stay Resident (TSR) program that
  119.      intercepts output sent to a printer port and writes it to a Capture File.
  120.  
  121.      Printer Interceptor can be installed, modified and un-installed from either
  122.      the Printer Interceptor Screen, or from the DOS command line.
  123.  
  124.  
  125.      >> MASK FILES <<
  126.  
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.  
  137.  
  138.  
  139.      A Mask File contains the set of instructions defining how the data in an
  140.      Input File will be copied and translated into a specific type of Output
  141.      File.  These instructions indicate which columns and lines are included,
  142.      and how they should be translated.  It also contains either the specified
  143.      or default Input File name, Output File name and type of translation.  A
  144.      Mask File must be saved to disk before a translation can be performed.
  145.  
  146.  
  147.      SAVING AND NAMING A MASK FILE
  148.  
  149.      The default name for the Mask File is the same as the Input File name with
  150.      the extension of .MSK, which is automatically added to the name of all Mask
  151.      Files.  When providing a name for a mask, the current mask name is
  152.      displayed.  A new name can be entered by typing over the existing name. 
  153.      This leaves the original Mask File on disk unchanged.  Mask Files can be
  154.      named and saved from both the Mask Screen and the Translation Screen.
  155.  
  156.  
  157.      MODIFYING OR DUPLICATING A MASK
  158.  
  159.      A previously defined mask can be modified by retrieving the Mask File,
  160.      making any desired changes, and then saving it.  A file saved with the same
  161.      name, replaces the original file.  Entering a new name at the prompt for
  162.      file name at the Save option, will save the mask as a new file and leave
  163.      the original mask unchanged.
  164.  
  165.      The Mask File can be retrieved from either the Mask Screen or the
  166.      Translation Screen.  From the Mask Screen, all of the mask settings can be
  167.      changed.  From the Translation Screen, changes are primarily limited to
  168.      selecting the Input File, Output File and translation type.
  169.  
  170.  
  171.      REUSING A MASK
  172.  
  173.      AutoImport's method of translation using a defined set of instructions is
  174.      especially useful when you regularly translate files with the same
  175.      structure (e.g., periodic reports).  Once a set of translation instructions
  176.      is defined and saved as a mask, it can be used whenever it describes the
  177.      data selection desired for an Input File.
  178.  
  179.  
  180.      >> OUTPUT FILES <<
  181.  
  182.      AutoImport places the extracted data in an Output File whose name, file
  183.      type, and location on the disk are specified by the user.
  184.  
  185.  
  186.      SELECTING OUTPUT FILE TYPE
  187.  
  188.      AutoImport can translate a file into many different file formats.  The
  189.      correct file extension is automatically appended to each Output File.
  190.  
  191.      The Output File type can be selected from either the Mask or Translation
  192.      Screens.  From the Mask Screen, the Output File type is selected with the
  193.  
  194.  
  195.  
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202.  
  203.  
  204.  
  205.      Files Output Type option.  From the Translation Screen, it is selected with
  206.      the Type option.
  207.  
  208.      The available translation types are displayed.  The currently selected type
  209.      is highlighted.  Examine the documentation accompanying your software
  210.      application to determine the file type and/or file extension required.  Use
  211.      the cursor keys to choose the output type desired.
  212.  
  213.      AutoImport can translate data into the following file types:
  214.  
  215.      SPREADSHEETS        Lotus 1-2-3 and Symphony, Microsoft Excel, and Borland
  216.                          Quattro and Quattro Pro.
  217.  
  218.      DATABASES           dBase II, III, III-Plus and IV, FoxPro, Clipper, Alpha
  219.                          4, and Clarion. Interchange   Columnwise DIF, Rowwise
  220.                          DIF and Symbolic Link files (SYLK).
  221.  
  222.      TEXT                Standard Data Format (SDF), fixed record format without
  223.                          delimiters, Tab Separated Variable (TSV), Comma
  224.                          Separated Variable (CSV), print image, and mailing
  225.                          label format.
  226.  
  227.      WORD PROCESSING     WordPerfect secondary merge file, Microsoft Word data
  228.                          document, and DOS Text.
  229.  
  230.  
  231.      SELECTING OUTPUT FILE NAME
  232.  
  233.      The Output File name defaults to the Input File name.  You can change the
  234.      name of the Output File to any name supported by the DOS naming
  235.      conventions.  AutoImport adds the file extension based on the type of
  236.      Output File you want created when the translation is performed.
  237.  
  238.      When a mask is saved, AutoImport saves the name of the last specified
  239.      Output File.  This name is used when the mask is used for translation.
  240.  
  241.      The Output File name can be specified from the Translation Screen by
  242.      selecting the Output File option.  You may also specify the Output File
  243.      name at the Mask Screen by selecting the Files Output Name option.
  244.  
  245.  
  246.      TRANSLATING TO AN EXISTING OUTPUT FILE
  247.  
  248.      The output of a translation is usually to a newly-created file, however,
  249.      you can direct the output to an existing file.  In this case, you can
  250.      direct AutoImport to Append the new data to the end of an existing file, or
  251.      to Replace the data in the existing file with data from the current
  252.      translation.
  253.  
  254.      AutoImport's File-combine option functions in the same way as the File
  255.      Combine option in Lotus 1-2-3 and other spreadsheet programs.  This option
  256.      is valid only for spreadsheet Output File types.
  257.  
  258.  
  259.  
  260.  
  261.  
  262.  
  263.  
  264.  
  265.  
  266.  
  267.  
  268.  
  269.  
  270.  
  271.      MASKING AN INPUT FILE ----------------------------------------------------
  272.  
  273.      AutoImport offers extensive methods of specifying treatment for the data in
  274.      Input Files.  Information can be selectively included or excluded when the
  275.      Input File is translated.  The settings and selections are defined on the
  276.      Mask Screen and saved in a file called the Mask File.
  277.  
  278.      The first step in defining a Mask is to select the Input File.  The Mask
  279.      Screen  provides a "window" to view the Input File.  The window can be
  280.      moved to view any portion of the Input File.
  281.  
  282.      While the Input File is displayed, selections are made from the menus. 
  283.      AutoImport shows the effects of these selections by changing the foreground
  284.      and background colors of the information in the Input File.
  285.  
  286.  
  287.      >> MOVING AROUND THE MASK SCREEN <<
  288.  
  289.      Many operations in AutoImport involve moving the cursor to a position on
  290.      the screen and selecting an action to take place at that cursor position in
  291.      the Input File.  Several techniques are available for moving the window and
  292.      positioning the cursor in the Input File.  These techniques include the use
  293.      of cursor keys, function keys and search routines.
  294.  
  295.  
  296.      CURSOR KEY OPERATIONS
  297.  
  298.      The cursor keys provide an easy way to move around the Mask Screen when in
  299.      the Ready mode.  These keys are also used to define the ranges of lines and
  300.      columns when in the Point mode.
  301.  
  302.      DOWN ARROW     Moves the cursor down one line
  303.  
  304.      UP ARROW       Moves the cursor up one line
  305.  
  306.      RIGHT ARROW    Moves the cursor to the right one position
  307.  
  308.      LEFT ARROW     Moves the cursor to the left one position
  309.  
  310.      PAGE UP        Displays the previous 20 lines of the Mask and Input File
  311.                     while leaving the cursor at the same position
  312.  
  313.      PAGE DOWN      Displays the next 20 lines of the Mask and Input File while
  314.                     leaving the cursor at the same position on the screen
  315.  
  316.      HOME           Displays the first 20 lines on the Input File and moves the
  317.                     cursor to line 1 position 1
  318.  
  319.      TAB            Displays the next 77 positions to the right of the currently
  320.                     displayed lines while leaving the cursor at the same
  321.                     position
  322.  
  323.      SHIFT TAB      Displays the previous 77 positions to the left of the
  324.                     currently displayed lines while leaving the cursor at the
  325.  
  326.  
  327.  
  328.  
  329.  
  330.  
  331.  
  332.  
  333.  
  334.  
  335.  
  336.  
  337.                     same position
  338.  
  339.      CONTROL RIGHT  If the cursor is not in a column, moves to next word.  If
  340.                     cursor is in a column, moves to first position past column
  341.  
  342.      CONTROL LEFT   Moves cursor to previous word or column
  343.  
  344.      END            Toggles the end mode on and off, redefining the movement
  345.                     keys to the following operations:
  346.  
  347.      END UP         Displays the first 20 lines of the mask and moves the cursor
  348.                     to line one, in the same column position
  349.  
  350.      END DOWN       Displays the last 20 lines of the Input File and moves the
  351.                     cursor to the last line, in the same column position
  352.  
  353.      END LEFT       Displays the currently displayed lines, beginning at the
  354.                     first position of each line and moves the cursor to the
  355.                     first position in the line
  356.  
  357.      END RIGHT      Displays the last position of the currently displayed lines
  358.                     and moves the cursor to the last position in the line
  359.  
  360.      END HOME       Displays the last 20 lines of the right-most positions of
  361.                     the Input File and moves the cursor to the last line and
  362.                     position in the Input File
  363.  
  364.      END PAGE DOWN  Displays the last 20 lines in the mask and moves the cursor
  365.                     to the last line, in the same position
  366.  
  367.      END PAGE UP    Same as End Up
  368.  
  369.  
  370.      MOVING THE CURSOR TO A SPECIFIC LINE
  371.  
  372.      Pressing the <F3> key will prompt for the line in the Input File at which
  373.      to place the cursor.  The Input File is redisplayed with the specified line
  374.      at the top of the window.
  375.  
  376.  
  377.      SEARCHING FOR A SPECIFIC STRING OF CHARACTERS
  378.  
  379.      To quickly find and display a line in the Input File that contains a
  380.      particular string of characters, select the Search String option.  At the
  381.      prompt, enter the string of characters to be searched for.  The search is
  382.      not case dependent, upper and lower case letters are equivalent.  The next
  383.      occurrence of the string in the file, if any, is displayed on the top line
  384.      of the window with the cursor on the first character of the string.  To
  385.      find the next occurrence, select Next.  To find the first occurrence select
  386.      First.
  387.  
  388.      NOTE:   To search for a character string and replace it with another
  389.      string, use the Mask Screen's Exclude Characters option.
  390.  
  391.  
  392.  
  393.  
  394.  
  395.  
  396.  
  397.  
  398.  
  399.  
  400.  
  401.  
  402.  
  403.      SEARCHING FOR A CHARACTER WITH A SPECIFIC ASCII CODE
  404.  
  405.      Characters, such as graphics characters, not easily entered from the
  406.      keyboard can be located using their ASCII values.  To find lines containing
  407.      a specified character, select the Search ASCII-character option.  At the
  408.      prompt, type in the number (0-255) of the ASCII code representing the
  409.      character.  The next occurrence of the character in the file, if any, is
  410.      displayed on the top line of the window with the cursor resting on the
  411.      character.  To find the next occurrence, select Next.  To display the first
  412.      occurrence of the character in the file, select First.
  413.  
  414.  
  415.      >> DEFINING COLUMNS <<
  416.  
  417.      Columns are used to define the positions, or cells, within each line of the
  418.      Input File that will be translated to the Output File.  Numeric data is
  419.      translated only if included within the defined range of a column.  A column
  420.      encompasses all lines in the Input File for the range specified.  A maximum
  421.      of 256 columns can be defined in any one mask.  Columns cannot overlap.
  422.  
  423.      To extract data from an Input File, columns must be defined.  You can
  424.      specify column ranges using the cursor key on the Mask Screen, or use
  425.      AutoImport's Auto-columns feature as a basis for definition of a mask.  You
  426.      can also add columns or remove columns from an existing mask to suit a
  427.      particular need.
  428.  
  429.      After a the range of a column is defined, the type of cells that comprise
  430.      each of the lines within a column's range can be specified.  The output
  431.      sequence of columns can also be defined.
  432.  
  433.  
  434.      MANUAL COLUMN DEFINITION
  435.  
  436.      Columns may be defined by pointing to the start and stop positions of each
  437.      individual column.  To define a column, move the cursor to the position at
  438.      which the column should begin, select the Column Define option, move to the
  439.      last position to be included in the column and press <Enter>.
  440.  
  441.      When defining columns using this method, remember that columns cannot
  442.      overlap.  If you wish to define a new column that overlaps an old column,
  443.      you must first delete the old column.
  444.  
  445.  
  446.      AUTOMATIC COLUMN DEFINITION
  447.  
  448.      You can automatically define columns by simply selecting a line in the file
  449.      for AutoImport to use as a pattern to establish column positions.  This
  450.      method disregards all previous column specifications and defines columns
  451.      for the entire length of the line used as a pattern.  To define columns
  452.      using this method, place the cursor on the line to be used as the pattern. 
  453.      Then select the Column Auto option.  The Input File will then be re-
  454.      displayed with the new column definitions.
  455.  
  456.      AutoImport can also be set to automatically define columns when an Input
  457.  
  458.  
  459.  
  460.  
  461.  
  462.  
  463.  
  464.  
  465.  
  466.  
  467.  
  468.  
  469.      File is first displayed on the Mask Screen.  The columns are based on the
  470.      patterns in the first screen of data displayed.  If the resulting columns
  471.      are inappropriate (the complexities of some file structures may produce
  472.      undesirable column definitions), you may want to modify the default
  473.      definition.  The automatic column definition feature can be turned on by
  474.      selecting the Sign-on Screen's Settings Auto-columns option.
  475.  
  476.  
  477.      REMOVING COLUMNS
  478.  
  479.      All columns or a specific column can be removed from the mask.  To remove
  480.      all columns from the mask, select the Columns Undo All option.  To remove a
  481.      specific column, move the cursor into the column and then select the
  482.      Columns Undo One option.
  483.  
  484.  
  485.      RESEQUENCING COLUMNS
  486.  
  487.      When a mask is defined, AutoImport orders the columns according to the
  488.      sequence in which they are displayed on the screen.  Default column order
  489.      is A, B, C, D....  If this sequence does not put the information in the
  490.      most usable order, you can resequence the columns.  For example, you could
  491.      switch positions of column C and column A.  The new sequence would be C, B,
  492.      A, D....  This option might be useful when the Output File will be a
  493.      database file whose existing structure orders information differently from
  494.      the Input File.  Columns can also be skipped (e.g., A, D, E, K).  To
  495.      resequence a column, move the cursor into the column and select the Column
  496.      Sequence option.
  497.  
  498.  
  499.      SELECTING THE COLUMN'S CELL TYPES
  500.  
  501.      The cells or fields that comprise each of the lines within a column's range
  502.      can be defined as one of five types.  The type is selected from the Mask
  503.      Screen by placing the cursor anywhere in the defined column and selecting
  504.      Column Type, and then one of the types listed below.  The selection applies
  505.      to all cells or fields in a particular column, except for lines treated as
  506.      Titles or Headings.
  507.  
  508.      NUMERIC   This is the default type AutoImport gives to cells or fields. 
  509.                The program will attempt to treat all the data in a cell of this
  510.                type as numeric values.  (To specify attributes such as currency
  511.                symbol, decimal position, and thousands separator, select the
  512.                Sign-on Screen's Settings International option.) If AutoImport
  513.                cannot translate the cells as numeric values, it will translate
  514.                them as labels.
  515.  
  516.      LABEL     This type instructs AutoImport to translate the data in the cells
  517.                of a column as text characters.
  518.  
  519.      SIGNED-OVERPUNCH
  520.                This type instructs AutoImport to convert cells in the column
  521.                that contain signed overpunch numbers into numeric values.  All
  522.                other cells in the column for the selected lines are translated
  523.  
  524.  
  525.  
  526.  
  527.  
  528.  
  529.  
  530.  
  531.  
  532.  
  533.  
  534.  
  535.                as labels.
  536.  
  537.      DATE      This type instructs AutoImport to translate the cells in the
  538.                column as dates.  The format of the date must be specified when
  539.                the type of column is defined.  Eight formats are supported.  If
  540.                the program cannot translate the cells as dates, it will attempt
  541.                to translate them as numeric values, then as labels. 
  542.  
  543.      TIME      This type instructs AutoImport to translate the cells in the
  544.                column as the time of day.  The time is translated to a decimal
  545.                number between 0 and 1.  0 indicates midnight, and .5 indicates
  546.                noon.  Spreadsheets will show this number as a time.  If the
  547.                program cannot translate the cells as times, it will attempt to
  548.                translate them as numeric values, then as labels.
  549.  
  550.      AutoImport interprets and recognizes the formatting used for decimal
  551.      separators, thousand separators, currency, dates, and signed overpunch
  552.      numbers.  How AutoImport interprets and recognizes these formats is
  553.      specified by selections made from the Sign-on Screen's Settings menu.
  554.  
  555.  
  556.      FILLING BLANK CELLS WITHIN A COLUMN
  557.  
  558.      Some Input Files do not repeat information in a column unless it changes. 
  559.      For example, in a listing of salespersons, the column indicating the region
  560.      in which the person works is included only for the first salesperson.  Only
  561.      when the region changes does the file list the new region.  To tell
  562.      AutoImport to fill all the blanks in the column with the most current
  563.      information, select the Column Blank Duplicate option.
  564.  
  565.  
  566.      ADDING INFORMATION FROM HEADINGS INTO COLUMNS
  567.  
  568.      Information from headings can be output as columns.  During translation,
  569.      each output line is "tagged" with the selected information from the
  570.      headings.  This information is called a Line Tag.
  571.  
  572.      You tell AutoImport where to find the Line Tag information by first
  573.      defining a match string that is used as a Reference Point, and then
  574.      defining the relative position of the Line Tag information to the Reference
  575.      Point.  The information in Line Tag columns is repeated on each output line
  576.      until the Line Tag information is refreshed, by encountering another line
  577.      that contains the Reference Point match string.  Columns defined by the use
  578.      of Line Tags precede the normally defined columns in the Output File.
  579.  
  580.      For example, if the Input File contains a date in the heading of each page,
  581.      the date can be inserted on every output line.  By defining a Reference
  582.      Point and then the date as a Line Tag, every time the program encounters
  583.      another occurrence of the Reference Point during translation, the next date
  584.      will be output as the Line Tag.
  585.  
  586.      To use information tags, first define the Reference Point match string,
  587.      then define the Line Tags associated with the Reference Point.  Up to five
  588.      Reference Point match strings can be defined.  When a Line Tag is defined,
  589.  
  590.  
  591.  
  592.  
  593.  
  594.  
  595.  
  596.  
  597.  
  598.  
  599.  
  600.  
  601.      it is associated with the closest Reference Point occurring before the tag. 
  602.  
  603.  
  604.      All Line Tag column letters are assigned prior to those of the normally
  605.      defined columns.  Line Tags are assigned column letters sequentially, in
  606.      the order of their definition for each Reference Point.
  607.  
  608.      Options that can be selected for a normally defined column can also be
  609.      selected for a column defined by use of Line Tags.  This includes selecting
  610.      the Type, Name, and @Function.
  611.  
  612.      NOTE:   Because the sequencing of Line Tag columns is limited, it is often
  613.      useful to perform two translations with AutoImport when using Line Tags. 
  614.      The first translation should create a print image Output File using the
  615.      Files Output Type Text Prn option.  This print image file should then be
  616.      loaded into the Mask Screen as the Input File.  The Line Tag columns that
  617.      are added on the left side of the original file can then be sequenced as
  618.      any normal column using the Column Sequence option.
  619.  
  620.  
  621.      ASSIGNING DATABASE FIELD NAMES TO COLUMNS
  622.  
  623.      When creating a new database or mail merge Output File, the AutoImport
  624.      column names are used as the field names.  The column names initially
  625.      default to be the column letters.  The column names can be changed by
  626.      moving the cursor into the column, selecting the Column Name option, and
  627.      entering a new name.
  628.  
  629.      After the column name is entered, the column indicator bar above the Input
  630.      File display window will include the column letter and the column name. 
  631.      For example, if column B is named "CITY" the column indicator bar will
  632.      display "BCITY" above the column.
  633.  
  634.  
  635.      ADJUSTING COLUMN WIDTHS GLOBALLY
  636.  
  637.      To display a numeric value, spreadsheets require that the width of the
  638.      column is one position wider than the number to be displayed.  If the
  639.      column is the same width as the number, asterisks (*) will be displayed. 
  640.      To ensure that numeric values are properly displayed, the widths of all
  641.      columns in a file can be widened by one character when translated with the
  642.      Global Adjust-Widths option.  This feature is useful if the Input File does
  643.      not have spaces between the columns of data.
  644.  
  645.  
  646.      >> SELECTING LINES FOR OUTPUT <<
  647.  
  648.      Lines are the horizontal rows of data.  In the upper left hand corner, the
  649.      Mask Screen displays the line number on which the cursor rests.  Lines are
  650.      numbered sequentially from the beginning of the file.
  651.  
  652.      There are three ways to select lines for output.  The default Global Mode
  653.      Value setting can be used to output all lines.  A particular line treatment
  654.      can be manually specified on a line-by-line basis.  Or, lines containing a
  655.  
  656.  
  657.  
  658.  
  659.  
  660.  
  661.  
  662.  
  663.  
  664.  
  665.  
  666.  
  667.      specified string of characters can be automatically output.
  668.  
  669.  
  670.      MANUALLY SELECTING LINES BY USING TREATMENTS
  671.  
  672.      A particular line treatment can be specified for each line in an Input
  673.      File.  The following line treatments select lines for output and specifies
  674.      how the information in the columns on the line will be translated:
  675.  
  676.      VALUE          The data within the columns on each Value Line is translated
  677.                     according to the column type.  On a color monitor, numeric
  678.                     data is displayed with a dark blue background, text with a
  679.                     magenta background, dates with a green background, and times
  680.                     with a brown background.
  681.  
  682.      HEADING        The data within the columns on each Heading Line is
  683.                     translated as text or labels (non-numeric).  On a color
  684.                     monitor, the data is displayed with a magenta background. 
  685.                     Notice that lines defined as heading include only data in
  686.                     defined column ranges, not data for the entire line.  To
  687.                     include the entire line, see the Title treatment below.
  688.  
  689.      TITLE          The entire line is translated as a single text string or
  690.                     label (non-numeric).  Column definitions are ignored.  On a
  691.                     color monitor, the entire line is displayed with a red
  692.                     background.
  693.  
  694.  
  695.      GLOBAL MODE VALUE
  696.  
  697.      When an Input File is loaded in the Mask Screen, all lines are selected to
  698.      be translated as Values.  In Global Mode Value, which is the default mode,
  699.      you can skip the lines, or exclude the lines you don't want included, based
  700.      on a string of characters.  AutoImport can also be used in Global Mode
  701.      Skip, in which no lines are initially selected and you indicate the lines
  702.      you want to include.
  703.  
  704.      In Global Mode Value, Include Lines have precedence over Exclude Lines. 
  705.      That is, if an include match string occurs in an Exclude Lines' range, the
  706.      Include Lines will be translated.  In Global Mode Skip, Exclude Lines have
  707.      precedence over Include Lines.
  708.  
  709.  
  710.      AUTOMATICALLY INCLUDING LINES WITH MATCH STRINGS
  711.  
  712.      AutoImport can be instructed to include all lines for translation that
  713.      contain a specified match string.  The match string can be a specific
  714.      string of characters, or a pattern string that contains wildcard
  715.      characters.  This feature (usually combined with Global Mode Skip), is
  716.      useful when selecting specific lines that all contain common information,
  717.      or a range of lines from the line containing the specified string of
  718.      characters.
  719.  
  720.      Lines included in this way are translated in the same way as Value Lines. 
  721.  
  722.  
  723.  
  724.  
  725.  
  726.  
  727.  
  728.  
  729.  
  730.  
  731.  
  732.  
  733.      A line already treated as a Title or a Heading containing the specified
  734.      string is not affected by the use of the Include Line feature, they are
  735.      always output.
  736.  
  737.      To include lines, examine the lines that are to be selected, and identify a
  738.      string of characters or a pattern unique to these lines.  Position the
  739.      cursor on the first character of the string, select the Include Line
  740.      option, move the cursor to the right, until all the characters in the
  741.      string are highlighted, and press <Enter>.  The program will prompt with
  742.      Exact-match or Pattern-match.
  743.  
  744.      If Exact-match is selected, the program will then prompt with Positional or
  745.      Not-positional.  Select Positional if the lines should be included only
  746.      when the string is found at the current position in the line.  Select Not-
  747.      positional if the line should be included if the string is found at any
  748.      position in the line.
  749.  
  750.      If Pattern-match is selected, AutoImport displays the highlighted string
  751.      for editing.  The following wildcard characters are used to define the
  752.      characters allowed in each position.  All other characters in the pattern
  753.      match string require that character at that position.  Edit the string. 
  754.      Press <Enter>.
  755.  
  756.           ^ (caret)           Any number (0 through 9)
  757.           ! (exclamation)     Any character except 0 through 9
  758.           ~ (tilde)           Any character except blank
  759.           _ (underscore)      Any character including blank
  760.  
  761.      You are also prompted to specify how many lines, including the one in which
  762.      the cursor rests, are to be included in the translation.
  763.  
  764.      An "I" in the left margin of each line that contains the specified string
  765.      will indicate that the lines will be included in translation.
  766.  
  767.      You may manually confirm the Include Lines that are to be sent to the
  768.      Output File during translation.  To manually confirm Include Lines, select
  769.      the Translation Screen's Confirm option before running the translation. 
  770.      Each time an Include Line is encountered during the translation, the
  771.      program will pause and prompt for the line's inclusion.
  772.  
  773.  
  774.      UNDOING AN INCLUDE LINE SELECTION
  775.  
  776.      To undo an operation that has defined an Include Line, from the Mask
  777.      Screen, display the menu and select Include Undo.  Use the Next and
  778.      Previous options to display the Include Line strings currently defined. 
  779.      When the desired string is displayed, select the Stop-including-this-one
  780.      option.
  781.  
  782.  
  783.      INSERTING AND DELETING LINE TREATMENTS
  784.  
  785.      Once defined, a mask may be used numerous times to translate different
  786.      Input Files with the same structure.  This is frequently the case when
  787.  
  788.  
  789.  
  790.  
  791.  
  792.  
  793.  
  794.  
  795.  
  796.  
  797.  
  798.  
  799.      reports are regularly issued from a host system using the same format; the
  800.      Input File you work with will be the same as the previous one, so you don't
  801.      have to create a new mask.  However, if the Input File changes slightly or
  802.      the segments of the Input File structure are altered, you can easily modify
  803.      the mask without extensive redefinition.
  804.  
  805.      For example, to extract the sales activities of stores in a specific region
  806.      from an alphabetical report that lists all stores, you can use a mask that
  807.      selects and skips stores based on the line position of the stores you want. 
  808.      When a new store is added to the report of all stores, and it is not in the
  809.      region in which you are interested, you can simply modify the existing mask
  810.      definition by inserting line treatments for the lines containing the sales
  811.      figures of the new store.  In the same way, you can delete line treatments
  812.      to match changes to the Input File.
  813.  
  814.  
  815.      RESTORING THE DEFAULT LINE TREATMENT
  816.  
  817.      To restore the setting for a range of lines to the default (global value or
  818.      skip) mode, position the cursor on the first line to be restored to the
  819.      default treatment and select the Line Mode-default option.  Then move the
  820.      cursor down to the last line whose treatment is to be restored to the
  821.      default treatment, and press <Enter>.
  822.  
  823.  
  824.      >> EXCLUDING LINES FROM OUTPUT <<
  825.  
  826.      There are four ways to exclude lines from output.  The default Global Mode
  827.      Skip setting can be used to exclude all lines.  A particular line treatment
  828.      can be manually specified on a line-by-line basis.  Lines containing a
  829.      specified string of characters can be automatically excluded.  Or, lines
  830.      can be excluded from translation that contain values in designated columns
  831.      that are lower or higher than specified limits.
  832.  
  833.  
  834.      MANUALLY EXCLUDING LINES BY USING TREATMENTS
  835.  
  836.      A particular line treatment can be specified for each line in an Input
  837.      File.  The following line treatments exclude lines from output:
  838.  
  839.      SKIP           The line is not sent to the Output File during translation. 
  840.                     The entire line is displayed with a black background.
  841.  
  842.      ABORT          This line signals AutoImport to halt translation of the
  843.                     Input File, and close the Output File.  This is useful when
  844.                     you know that you only want the first part of a long file.
  845.  
  846.  
  847.      AUTOMATICALLY EXCLUDING LINES WITH MATCH STRINGS
  848.  
  849.      AutoImport can be instructed to exclude all lines from translation that
  850.      contain a specified match string.  The match string can be a specific
  851.      string of characters, or a pattern string that contains wildcard
  852.      characters.  This feature (usually combined with Global Mode Value), is
  853.  
  854.  
  855.  
  856.  
  857.  
  858.  
  859.  
  860.  
  861.  
  862.  
  863.  
  864.  
  865.      useful when excluding specific lines that all contain common information,
  866.      or a range of lines from the line containing the specified string of
  867.      characters.  This feature can also be used to exclude recurring page titles
  868.      and headers from translation into the Output File.
  869.  
  870.      Lines excluded in this way are treated in the same way as Skip Lines.  A
  871.      line already treated as a Title or a Heading containing the specified
  872.      string is not excluded by the use of the Exclude Line feature.  This
  873.      permits sending a single occurrence (i.e.  the first) of the lines
  874.      containing the specified string to the Output File, while skipping all
  875.      other occurrences.
  876.  
  877.      To exclude lines, examine the lines that are to be ignored, and identify a
  878.      string of characters or a pattern unique to these lines.  Position the
  879.      cursor on the first character of the string, select the Exclude Line
  880.      option, move the cursor to the right, until all the characters in the
  881.      string are highlighted, and press <Enter>.  The program will prompt with
  882.      Exact-match or Pattern-match.
  883.  
  884.      If Exact-match is selected, the program will then prompt with Positional or
  885.      Not-positional.  Select Positional if the lines should be excluded only
  886.      when the string is found at the current position in the line.  Select Not-
  887.      positional if the line should be excluded if the string is found at any
  888.      position in the line.
  889.  
  890.      If Pattern-match is selected, AutoImport displays the highlighted string
  891.      for editing.  The following wildcard characters are used to define the
  892.      characters allowed in each position.  All other characters in the pattern
  893.      match string require that character at that position.  Edit the string. 
  894.      Press <Enter>.
  895.  
  896.           ^ (caret)           Any number (0 through 9)
  897.           ! (exclamation)     Any character except 0 through 9
  898.           ~ (tilde)           Any character except blank
  899.           _ (underscore)      Any character including blank
  900.  
  901.      You are also prompted to specify how many lines, including the one in which
  902.      the cursor rests, are to be excluded in the translation.
  903.  
  904.      The file will be re-displayed with the lines to be excluded marked with an
  905.      "E" on the left side of the screen.
  906.  
  907.      You may manually confirm the Exclude Lines that are to be ignored during
  908.      translation.  To manually confirm Exclude Lines, select the Translation
  909.      Screen's Confirm option before running the translation.  Each time an
  910.      Exclude Line is encountered during the translation, the program will pause
  911.      and prompt for the line's exclusion.
  912.  
  913.  
  914.      UNDOING AN EXCLUDE LINE SELECTION
  915.  
  916.      To undo an operation that has defined an Exclude Line, from the Mask
  917.      Screen, select the Exclude Undo Line option.  Use the Next and Previous
  918.      options to display the Exclude Line strings currently defined.  When the
  919.  
  920.  
  921.  
  922.  
  923.  
  924.  
  925.  
  926.  
  927.  
  928.  
  929.  
  930.  
  931.      desired string is displayed, select the Stop-excluding-this-one option.
  932.  
  933.  
  934.      AUTOMATICALLY EXCLUDING LINES BY SETTING LIMITS IN COLUMNS
  935.  
  936.      Lines can be excluded from translation that contain values in designated
  937.      columns that are lower or higher than specified limits.  After a column is
  938.      defined, limits are set by selecting the Column Limits option and entering
  939.      either an upper limit, a lower limit, or both.  How AutoImport prompts for
  940.      limits is dependent on the column type; numeric, label, date, or time.
  941.  
  942.      Lines with values in the column that are higher or lower than the limits
  943.      are displayed with a black background.  An uppercase "E" also appears in
  944.      the left margin to indicate that the line is Excluded.
  945.  
  946.      A line is tested for limits only if the line treatment is Global Mode Value
  947.      as indicated by a lowercase "v" in the left margin, or if the line is
  948.      Included as indicated by an either an uppercase "I" or a lowercase "i" in
  949.      the left margin.
  950.  
  951.      If the column type is changed, the limits for the column are eliminated. 
  952.      To eliminate or undo the test for limits in a column, delete the limits
  953.      entered in the column by selecting the Column Limits option and using the
  954.      <Delete> key to blank out the limits.
  955.  
  956.  
  957.      EXCLUDING BLANK LINES
  958.  
  959.      To remove all blank lines in an Input File, select the Exclude Blank-lines
  960.      option.  The current selection is indicated as either Yes or No (default). 
  961.      Select Yes to exclude blank lines, No to include blank lines.
  962.  
  963.  
  964.      EXCLUDING DUPLICATE LINES
  965.  
  966.      Excludes the output of a line that is exactly the same as the preceding
  967.      line.  Some programs print a line, perform a carriage return without a line
  968.      feed, and print the line again.  This results in "bold" print that is used
  969.      for emphasizing titles and headings on reports.  The Exclude Duplicate-
  970.      lines option removes the second line of print from this style of report.
  971.  
  972.  
  973.  
  974.      >> ADDING FORMULAS TO THE OUTPUT <<
  975.  
  976.      AutoImport can include rows of formulas in spreadsheet Output File types. 
  977.      These formula rows can either replace existing rows in the Input File, or
  978.      they can be additional rows that are output.  Formula rows can be selected
  979.      for output either when the information in a specific column changes, or a
  980.      character string is matched.
  981.  
  982.      The default formulas that are output are the @Sum function for numeric
  983.      columns, @Count function for label columns, and no formulas for date
  984.      columns or time columns.  Available functions for formulas are Sum, Count
  985.  
  986.  
  987.  
  988.  
  989.  
  990.  
  991.  
  992.  
  993.  
  994.  
  995.  
  996.  
  997.      and Average.  To change the type of @function that is output in a column,
  998.      use the Column @Function option.
  999.  
  1000.      An "@" symbol is displayed on the top left edge of the column indicator bar
  1001.      whenever an @Formula option is selected.
  1002.  
  1003.  
  1004.      INSERTING FORMULA ROWS BASED ON A COLUMN CHANGE
  1005.  
  1006.      Formula cells can be inserted into the output each time the character
  1007.      contents of a non-blank cell in a specified column changes.  The column to
  1008.      be tested for a change in contents can be a normally defined column or a
  1009.      Line Tag column.
  1010.  
  1011.      This option is useful when the Input File is a list of records in a sorted
  1012.      order without subtotals.  By selecting the @Formula Column-change option
  1013.      and specifying the column to test for a change in contents, AutoImport
  1014.      inserts a row of Formula cells in the output spreadsheet.
  1015.  
  1016.      A dashed line is output before, and a blank line is output after, the
  1017.      formula line.  This formatting makes it easy to determine where AutoImport
  1018.      has inserted formulas.
  1019.  
  1020.  
  1021.      INSERTING FORMULA ROWS USING A MATCH STRING
  1022.  
  1023.      A row of formula cells can be inserted into the output each time a
  1024.      specified match string is encountered during translation.  The match string
  1025.      can be defined to require an exact match, or a pattern match using wildcard
  1026.      characters.
  1027.  
  1028.      This option is useful when a report has groups of information without
  1029.      subtotals that is either on different pages, or is separated by headings. 
  1030.      AutoImport can be instructed to insert formula cells in rows before each
  1031.      new page or heading.
  1032.  
  1033.      To insert formulas based on a match string, move the cursor to the first
  1034.      position in the string, select @Formula Insert-on-match, highlight the
  1035.      remainder of the string and press <Enter>.  If the match string is always
  1036.      the same character sequence, select Exact-match, and then select either
  1037.      Positional or Not-positional.  To define a pattern of characters, select
  1038.      Pattern-match, edit the string by including the appropriate wildcard
  1039.      characters and press <Enter>.
  1040.  
  1041.  
  1042.      REPLACING LINES WITH FORMULA ROWS
  1043.  
  1044.      A row of formula cells can replace the cell contents of an output line each
  1045.      time a specified match string is encountered during translation.  The match
  1046.      string can be defined to require an exact match, or allow for a pattern
  1047.      match using wildcard characters.
  1048.  
  1049.      Many reports already contain totals.  The @Formula Replace-on-match option
  1050.      can be used to replace the literal totals with the formulas for the totals. 
  1051.  
  1052.  
  1053.  
  1054.  
  1055.  
  1056.  
  1057.  
  1058.  
  1059.  
  1060.  
  1061.  
  1062.  
  1063.      This facilitates "what if" analysis in spreadsheets by showing the new
  1064.      total after a change is made to a detail line.
  1065.  
  1066.  
  1067.      >> CONTROLLING PLACEMENT IN THE OUTPUT FILE <<
  1068.  
  1069.      There are several options that provide for specific placement of
  1070.      information in an Output File.  The sequence in which columns are output
  1071.      can be controlled with the Column Sequence option.  The Files Output
  1072.      Existing-output options of Replace, Append, and File-combine control how
  1073.      AutoImport handles data in existing Output Files during translation.
  1074.  
  1075.      In addition, the starting cell for output into spreadsheets, and the row
  1076.      and column orientation (rotation of line/column aspects) of the Output File
  1077.      can be controlled.
  1078.  
  1079.  
  1080.      CHANGING THE SPREADSHEET'S STARTING CELL
  1081.  
  1082.      By default, AutoImport uses cell address A1 (first column, first row) as
  1083.      the starting position for output into a spreadsheet.  By changing this
  1084.      starting position you can offset the first cell address used for output. 
  1085.      For example, if the existing spreadsheet includes four columns (A, B, C,
  1086.      and D), you can offset the starting cell to define the three columns in the
  1087.      Input File to be output as columns E, F, and G in the existing Output File.
  1088.  
  1089.      To reposition the starting cell, select the Global Starting-cell option. 
  1090.      Changing the starting cell from A1 to B1 would redefine columns A and B to
  1091.      B and C.  Likewise, changing the starting cell from A1 to A30 would start
  1092.      placement in the output spreadsheet at row 30.
  1093.  
  1094.      This is useful for translation of a file whose output will be combined with
  1095.      the information in an existing spreadsheet.  When file combining,
  1096.      information in the rows and columns of an existing spreadsheet that occur
  1097.      before the starting cell are not changed during translation.
  1098.  
  1099.  
  1100.      TRANSPOSING COLUMNS AND LINES
  1101.  
  1102.      For output used with a spreadsheet, AutoImport can transpose columns and
  1103.      lines.  That is, data displayed as columns in the Mask Screen will be
  1104.      output as lines, and vice versa.  If this option is selected, column widths
  1105.      defined in the mask are not used during translation.  Data appended to or
  1106.      combined with an existing spreadsheet file will be in the columns already
  1107.      defined.  An Output File opened as a new worksheet will be displayed using
  1108.      the spreadsheet program's default column width.
  1109.  
  1110.  
  1111.      >> REMOVING PRINTER CONTROL CODES <<
  1112.  
  1113.      If the Input File is a report downloaded from another computer, or output
  1114.      from another PC program, the Input File may contain printer control codes
  1115.      (ASCII characters 0 through 31).  These codes are typically used by
  1116.      printers for controlling line spacing, condensed print, emphasized print
  1117.  
  1118.  
  1119.  
  1120.  
  1121.  
  1122.  
  1123.  
  1124.  
  1125.  
  1126.  
  1127.  
  1128.  
  1129.      and other features that control how text is printed.  When the Input File
  1130.      is displayed on the Mask Screen, the control codes usually interfere with
  1131.      the display of the file causing misalignment of the columns of numbers.
  1132.  
  1133.      AutoImport can remove printer control codes that are single characters,
  1134.      escape sequences, page ejects, and line printer carriage control columns. 
  1135.      After the control codes are removed, the Input File is redisplayed on the
  1136.      Mask Screen without the control characters.
  1137.  
  1138.  
  1139.      SEARCHING FOR PRINTER CONTROL CODES
  1140.  
  1141.      Control codes, the ASCII values 0-31, are generally used for printer
  1142.      formatting and communications control.  AutoImport will display these codes
  1143.      as graphics characters, ASCII 200-231.  To find occurrences of control
  1144.      codes, select the Search Control-codes option.  To display the first
  1145.      occurrence of any of the control codes, select First.  To find the next
  1146.      occurrence, select Next.
  1147.  
  1148.  
  1149.      EXCLUDING ALL SINGLE CHARACTER PRINTER CONTROL CODES
  1150.  
  1151.      All single character control codes can be removed with the Exclude Special-
  1152.      characters option.  This option removes all ASCII characters with codes of
  1153.      0 through 31 except for the escape character (ASCII 27).
  1154.  
  1155.  
  1156.      EXCLUDING ESCAPE SEQUENCES
  1157.  
  1158.      Escape sequences are a string of two or more characters beginning with the
  1159.      escape character (ASCII 27) that provide control instructions to a printer. 
  1160.      To remove an escape sequence, or any other string of characters, move the
  1161.      cursor to the first character of the string to be ignored.  Select the
  1162.      Exclude Characters option.  Then, move the cursor to the right,
  1163.      highlighting the desired characters and press <Enter>.  AutoImport will
  1164.      prompt for an optional replacement string.  If the highlighted string is
  1165.      simply to be ignored, do not provide a replacement string.
  1166.  
  1167.  
  1168.      FIRST POSITION CARRIAGE CONTROL
  1169.  
  1170.      Carriage control characters are another type of printer control that is
  1171.      included in reports created by some programming languages on certain
  1172.      computers.  FORTRAN, for example, uses the first column of each line to
  1173.      indicate line feeds and form feeds to the printer.
  1174.  
  1175.      To ignore the carriage control character, select the Exclude First-
  1176.      positions option.  The current setting of the number of positions to skip
  1177.      at the beginning of each line is displayed.  Type in the number of
  1178.      character positions to ignore.  The file will then be re-displayed with
  1179.      these positions removed.
  1180.  
  1181.  
  1182.      >> Shortcut Function Key Operations <<
  1183.  
  1184.  
  1185.  
  1186.  
  1187.  
  1188.  
  1189.  
  1190.  
  1191.  
  1192.  
  1193.  
  1194.  
  1195.      The function keys labelled F1 to F10 are used for frequently-performed
  1196.      operations and menu selections while at the Mask Screen.  Using these
  1197.      "shortcut" keys saves time in defining a mask.
  1198.  
  1199.      Pressing the following function keys at the Mask Screen while in the Ready
  1200.      mode performs the described operations.
  1201.  
  1202.      F1   Displays the Help screen.
  1203.  
  1204.      F2   The same as pressing  / Column Define.
  1205.  
  1206.      F3   Prompts for a line number at which to begin display of the mask       
  1207.           and the Input File.
  1208.  
  1209.      F4   The same as pressing / Column Undo One.
  1210.  
  1211.      F5   The same as pressing / Line Skip.
  1212.  
  1213.      F6   The same as pressing / Line Heading.
  1214.  
  1215.      F7   The same as pressing / Line Value.
  1216.  
  1217.      F8   The same as pressing / Line Title.
  1218.  
  1219.      F9   The same as pressing / Search First.
  1220.  
  1221.      F10  The same as pressing / Search Next.
  1222.  
  1223.  
  1224.      >> LISTING MASK SETTINGS AND SELECTIONS <<
  1225.  
  1226.      AutoImport allows you to print the settings defined in your mask.  The
  1227.      printed list of settings can be very helpful when trying to determine why
  1228.      the results of a translation are not as expected.  The list is also useful
  1229.      for documenting the settings, in case the Mask File is lost or damaged. 
  1230.      These settings include the file names, global mode, Include Lines, Exclude
  1231.      Lines, column types, Reference Points, and Line Tags.
  1232.  
  1233.      The settings will be listed to the currently-selected printer.  Printer
  1234.      selection can be changed from the Sign-on Screen's Settings Printer option.
  1235.  
  1236.      The first line of the report indicates the date and time that the report
  1237.      was printed.  The next section gives information about the Mask File, Input
  1238.      File, and Output File.  The Settings section reports the global mode,
  1239.      whether blank lines or form feeds are excluded, the starting cell, and
  1240.      other significant definitions of the mask.
  1241.  
  1242.      The next section reports the number of columns in the mask.  It also
  1243.      provides the column letter, starting position, width, type, name, and
  1244.      whether the non-blank information should be duplicated into blank cells.
  1245.  
  1246.      If any Include Strings or Exclude Strings are defined, the report lists the
  1247.      type and the number of each defined.  Also shown are the number of lines to
  1248.      be included or excluded when the string is encountered at the defined
  1249.  
  1250.  
  1251.  
  1252.  
  1253.  
  1254.  
  1255.  
  1256.  
  1257.  
  1258.  
  1259.  
  1260.  
  1261.      position.
  1262.  
  1263.      If any Exclude Characters are defined, the report lists the string and the
  1264.      ASCII code for each of the characters.  The ASCII code is a number between
  1265.      0 and 255 decimal.
  1266.  
  1267.      The final item reported is whether any Reference Points have been declared,
  1268.      the Reference Point strings, and any Line Tags defined.  The column letter,
  1269.      position, and type for each tag are displayed.
  1270.  
  1271.      Because as many as 16384 line treatments can be defined, line treatments
  1272.      are not reported.  These can be viewed only from the Mask Screen.
  1273.  
  1274.  
  1275.  
  1276.      SETTING HOW AUTOIMPORT RECOGNIZES NUMBERS AND DATES ----------------------
  1277.  
  1278.      AutoImport recognizes many of the methods used to express numbers and dates
  1279.      in the United States and in many other countries.
  1280.  
  1281.  
  1282.      >> RECOGNIZING NUMBERS <<
  1283.  
  1284.      AutoImport understands how numbers are represented on reports and
  1285.      translates them correctly into the Output File.  It understands that
  1286.      negative numbers can be represented several ways, either with a minus sign
  1287.      before or after the number, or with a CR or DR next to the number (credits
  1288.      and debits).  AutoImport can also be instructed to recognize numbers that
  1289.      use a signed overpunch scheme for representing positive and negative
  1290.      values.
  1291.  
  1292.      It understands that a percent sign indicates the number should be divided
  1293.      by 100.  It even handles subtotals that are marked with asterisks. 
  1294.      AutoImport can also translate numbers that are expressed in scientific
  1295.      notation.
  1296.  
  1297.      Computer systems in the U.S. use the dollar sign ($) to express currency, a
  1298.      period (.) to indicate the decimal point, and a comma (,) as the thousands
  1299.      separator.  AutoImport can be instructed to use other symbols for
  1300.      recognizing currency, thousands and decimals, as explained below.
  1301.  
  1302.  
  1303.      CURRENCY SYMBOL
  1304.  
  1305.      To change the character recognized as the currency symbol, select the Sign-
  1306.      on Screen's Settings International Currency option.  If the symbol can be
  1307.      typed directly from the keyboard, select Key and press the appropriate key. 
  1308.      The current setting for the currency symbol is displayed.
  1309.  
  1310.      If the symbol you wish to use is not on your keyboard, select ASCII-code
  1311.      and enter the ASCII value for the symbol (e.g.  British Pound Sterling:
  1312.      156, Japanese Yen: 157).  To check your entry select the Settings
  1313.      International Currency Key option, and look at the symbol that is
  1314.      displayed.
  1315.  
  1316.  
  1317.  
  1318.  
  1319.  
  1320.  
  1321.  
  1322.  
  1323.  
  1324.  
  1325.  
  1326.  
  1327.  
  1328.      THOUSANDS SEPARATOR SYMBOL
  1329.  
  1330.      The symbol for separating thousands in the U.S. is the comma; also used in
  1331.      other countries are the period and the space.  To select one of these three
  1332.      symbols, select the Sign-on Screen's Settings International Thousands
  1333.      option.  The current setting for the thousands separator is displayed. 
  1334.      Move the cursor to the symbol you wish to use and press <Enter>.
  1335.  
  1336.  
  1337.      DECIMAL POINT SYMBOL
  1338.  
  1339.      The symbol for separating the fractional or decimal part of a number from
  1340.      the integer portion of a number can be defined as either the period or the
  1341.      comma.  To select one of these two symbols, select the Sign-on Screen's
  1342.      Settings International Point option.  The current setting is displayed. 
  1343.      Move the cursor to the desired symbol and press <Enter>.
  1344.  
  1345.  
  1346.      SIGNED OVERPUNCH TECHNIQUE
  1347.  
  1348.      By assigning special characters to either the first or last digit of a
  1349.      number, a program can indicate whether a number is positive or negative. 
  1350.      This helps conserve file space; rather than outputing the minus sign, it is
  1351.      "coded" into the number as a signed overpunch technique.
  1352.  
  1353.      To specify the characters used to indicate the sign of the number, select
  1354.      the Sign-on Screen's Settings Signed-overpunch Characters option. 
  1355.      AutoImport provides three options for designating the characters that are
  1356.      used to indicate that a number is positive or negative:
  1357.  
  1358.          0 - 9 as positive, } - R as negative
  1359.  
  1360.          { - I as positive, } - R as negative
  1361.  
  1362.          Custom (user-defined)
  1363.  
  1364.      One of the first two options translates the majority of Input Files using
  1365.      signed overpunch correctly.  Selecting the Custom option displays all 20
  1366.      possible digits and the current character assignment.  To create a custom
  1367.      format, change the characters to match those used in the Input File and
  1368.      save this setting by pressing <F10>.
  1369.  
  1370.      AutoImport can use either the leading (first position) or trailing (last
  1371.      position) digit of a number as the signed overpunch.  To check or change
  1372.      the setting, select the Sign-on Screen's Settings Signed-overpunch Position
  1373.      option.  The default is the trailing position.
  1374.  
  1375.  
  1376.      >> RECOGNIZING DATES <<
  1377.  
  1378.      By default, AutoImport recognizes dates which contain characters that
  1379.      separate the month, day and year portions of the date.  For dates which
  1380.      contain no separator characters, a user-defined format can be defined that
  1381.  
  1382.  
  1383.  
  1384.  
  1385.  
  1386.  
  1387.  
  1388.  
  1389.  
  1390.  
  1391.  
  1392.  
  1393.      specifies the positions in a string that contain the month, day and year.
  1394.  
  1395.      For dates that contain two digits for the year, the cutoff date that
  1396.      divides 19xx from 20xx can be defined.  The spellings of the month names
  1397.      can also be defined for working with files from countries that do not use
  1398.      the English spellings.
  1399.  
  1400.  
  1401.      RECOGNIZING DATES WITHOUT SEPARATORS
  1402.  
  1403.      AutoImport recognizes 7 standard date formats, and 1 custom format defined
  1404.      by the user.  The standard formats assume that the month, day, and year are
  1405.      separated by a space or a separator character ( / - : , etc.).  The custom
  1406.      format is used when there are no separators.
  1407.  
  1408.      To define the custom date format, select the Sign-on Screen's Settings Date
  1409.      Custom option.  Type in the format string using the letters D, M and Y as
  1410.      positional indicators for the day, month and year.
  1411.  
  1412.  
  1413.      YEAR FORMATS
  1414.  
  1415.      Most dates that represent years with two digits assume that the year is
  1416.      19xx (or the twentieth century).  However, in some files such as a
  1417.      worksheet set up to calculate maturity dates of bonds, the date 11/25/55
  1418.      could mean 1955 or 2055.  To define the two digit year that is the cutoff
  1419.      between 19xx and 20xx, select the Sign-on Screen's Settings Date Year
  1420.      option.
  1421.  
  1422.  
  1423.      MONTH NAME SPELLINGS
  1424.  
  1425.      AutoImport recognizes the standard U.S. spellings of the names of the
  1426.      months, but it can also be instructed to recognize different spellings,
  1427.      such as the German spelling of October as "Oktober".  To specify the
  1428.      spellings of the month names, select the Sign-on Screen's Settings
  1429.      International Month-names option.
  1430.  
  1431.  
  1432.  
  1433.      TRANSLATING FILES --------------------------------------------------------
  1434.  
  1435.      Translation of data from the Input File to the Output File is initiated and
  1436.      controlled from the Translation Screen.  To display the Translation Screen,
  1437.      select the Sign-on Screen's Translate option.
  1438.  
  1439.      Before an Input File can be translated, a mask must have been defined and
  1440.      saved as a file.  Information about the Input File and the Output File to
  1441.      be created by the translation process can be specified from either the Mask
  1442.      Screen or the Translation Screen.
  1443.  
  1444.      Translations can also be initiated from the DOS prompt using a command line
  1445.      or as part of a .BAT file.
  1446.  
  1447.  
  1448.  
  1449.  
  1450.  
  1451.  
  1452.  
  1453.  
  1454.  
  1455.  
  1456.  
  1457.  
  1458.  
  1459.      >> Selecting the Mask Used for Translation <<
  1460.  
  1461.      When the Translation Screen is initially displayed, the last mask that was
  1462.      either saved on the Mask Screen or used in a translation is automatically
  1463.      selected.  Information about the mask is displayed on the screen.
  1464.  
  1465.      To use another mask for translation, select the Mask Retrieve option.  Then
  1466.      select either List to point to the Mask File, or Type-in to manually enter
  1467.      the file name.  To change the currently selected directory for masks,
  1468.      select the Mask Directory option.
  1469.  
  1470.  
  1471.      >> CHANGING MASK SETTINGS ON THE TRANSLATION SCREEN
  1472.  
  1473.      Several of the Mask Screen's settings can be temporarily or permanently
  1474.      overridden by options selected from the Translation Screen.  The Input
  1475.      File, Output File, translation type, and the handling of existing output
  1476.      files can be changed.  When settings are changed for these options, they
  1477.      are displayed on the Translation Screen.
  1478.  
  1479.      The changes are used only for this translation unless the mask is saved. 
  1480.      Saving the mask permanently changes the settings in the Mask File.  To save
  1481.      the mask from the Translation Screen, select the Mask Save option.
  1482.  
  1483.  
  1484.      >> DISPLAYING THE FILE DURING TRANSLATION <<
  1485.  
  1486.      Translation can be performed with or without displaying the Input File.  To
  1487.      specify your choice, at the Translation Screen, select Display.  The
  1488.      current selection is indicated as either Yes or No.  Select Yes to display
  1489.      the Input File during translation or No to inhibit display during
  1490.      translation.
  1491.  
  1492.  
  1493.      >> CONFIRMING INCLUDE/EXCLUDE LINES DURING TRANSLATION <<
  1494.  
  1495.      During translation, Include Line and Exclude Line selections may be
  1496.      manually confirmed on a line-by-line basis.  To specify manual
  1497.      confirmation, at the Translation Screen, select Confirm.  The current
  1498.      setting is indicated as either Yes or No.  Select Yes to permit
  1499.      confirmation of all Include and Exclude Lines during the translation
  1500.      process.  This must be done each time before translation; the mask does not
  1501.      save the confirm selection.  Selecting confirmation also sets the Display
  1502.      of the file during the translation to Yes.
  1503.  
  1504.  
  1505.      >> PERFORMING THE TRANSLATION <<
  1506.  
  1507.      After the proper Mask File is selected and the other information on the
  1508.      screen is correct, select the Go option to start the translation.  If a
  1509.      file already exists that has the same name as the Output File and Existing-
  1510.      output Warning is selected (the default selection), AutoImport prompts for
  1511.      Cancel, Replace, Append or File-combine.
  1512.  
  1513.  
  1514.  
  1515.  
  1516.  
  1517.  
  1518.  
  1519.  
  1520.  
  1521.  
  1522.  
  1523.  
  1524.  
  1525.      If the Display option is set to Yes, the Progress Screen is displayed. 
  1526.      This screen displays the selected lines of the Input File as they are being
  1527.      translated.
  1528.  
  1529.  
  1530.  
  1531.      SPECIAL CONSIDERATIONS FOR TRANSLATING DATABASE FILES --------------------
  1532.  
  1533.      Database files contain a database structure that provides information used
  1534.      by the database program to locate, store, and organize the data.  The
  1535.      structure contains information such as field names, field lengths, and
  1536.      field types.  This information is written to the database file when it is
  1537.      created.
  1538.  
  1539.      If the database file exists, AutoImport uses the current database
  1540.      structure.  If the file does not exist, AutoImport automatically creates a
  1541.      structure.  It is recommended that the database management system is used
  1542.      to create the Output File with the desired database structure.
  1543.  
  1544.  
  1545.      >> RELATIONSHIP BETWEEN COLUMNS AND FIELDS <<
  1546.  
  1547.      A field serves much the same function in a database that a column does in a
  1548.      worksheet.  The information in a defined column will be sent to the
  1549.      corresponding field in the database file.  For example, information in
  1550.      column A will go to the first field, column B's data will go to the second,
  1551.      etc.
  1552.  
  1553.  
  1554.      >> DISPLAYING THE DATABASE STRUCTURE <<
  1555.  
  1556.      AutoImport offers two ways of displaying the structure of an existing
  1557.      database file.  Both methods show field name, length, type, and the column
  1558.      letter that corresponds to the field in the mask.
  1559.  
  1560.      For a screen display of the structure select the Mask Screen's Files Output
  1561.      Type Database option and specify the type of database file.  Then, select
  1562.      Files Output Database-Structure.  The database structure of the Output File
  1563.      will be displayed along with the column settings defined in the mask.
  1564.  
  1565.      To output the structure to a file, from the Utilities Screen, select the
  1566.      Function Header option, and the database file as the Input File.  Select Go
  1567.      and the database structure (header) will be written to a file.  This file
  1568.      can be displayed on the screen or printed.
  1569.  
  1570.  
  1571.      >> TRANSLATION WHEN A DATABASE STRUCTURE EXISTS <<
  1572.  
  1573.      CAUTION: If there are any indexes associated with a database, they must be
  1574.      re-indexed following a translation to the database file.  AutoImport does
  1575.      not update indexes when it performs a database translation.
  1576.  
  1577.      AutoImport retains all characteristics of a database structure during a
  1578.      translation.  If more columns have been defined than existing fields in the
  1579.  
  1580.  
  1581.  
  1582.  
  1583.  
  1584.  
  1585.  
  1586.  
  1587.  
  1588.  
  1589.  
  1590.  
  1591.      database, the information in the columns not associated with a field is not
  1592.      output.  If fewer columns have been defined than fields in the database,
  1593.      some fields will remain blank.
  1594.  
  1595.      When instructed to perform a translation into a database file, AutoImport
  1596.      verifies that the Output File exists.  If the file exists, you can specify
  1597.      that AutoImport either appends to the file by keeping the current records
  1598.      and adding new records, or completely replaces the records already in the
  1599.      file.
  1600.  
  1601.  
  1602.      >> TRANSLATION WHEN A DATABASE STRUCTURE DOES NOT EXIST <<
  1603.  
  1604.      If the structure does not exist when a file is translated to a database
  1605.      Output File type, AutoImport creates the database structure by setting the
  1606.      field names, field length and field type to that defined in the mask.
  1607.  
  1608.      The database field names that are written to the structure are the Mask's
  1609.      column names.  The column names initially default to the column letters
  1610.      (i.e., A, B, C, D,...).  The names of the columns (data fields) can be
  1611.      changed to any valid field name (i.e., NAME, ADDRESS, etc.) by selecting
  1612.      the Mask Screen's Column Name option.
  1613.  
  1614.      NOTE:  If the mask is later redefined to include more or fewer columns
  1615.      (perhaps results of the translation were not as desired), delete the
  1616.      database file and associated structure created by AutoImport with the DOS
  1617.      DELETE or ERASE commands.
  1618.  
  1619.  
  1620.      >> CREATING RECORDS FROM REPORT FILES <<
  1621.  
  1622.      Some reports do not include information on every line for the lines to be
  1623.      used as individual database records.  Some reports contain information in a
  1624.      heading at the top of the page that needs to be included on each line. 
  1625.      Columns containing this information can be added using the Mask Screen's
  1626.      Line Tag feature.
  1627.  
  1628.      Some reports leave a column blank on a line if it would contain the same
  1629.      information as that for the preceding line.  Information from previous
  1630.      lines can be duplicated into the blank cells on each line selecting the
  1631.      Mask Screen's Column Blank Duplicate option.
  1632.  
  1633.  
  1634.      --------------------------------------------------------------------------
  1635.      --------------------------------------------------------------------------
  1636.      --------------------------------------------------------------------------
  1637.  
  1638.                             COMMAND LINE USE REFERENCE
  1639.  
  1640.  
  1641.      The Translation, Utilities, and Printer Interceptor functions can be
  1642.      performed using a DOS command line.  The command line can be executed from
  1643.      the DOS prompt, included in a .BAT file, or incorporated into a software
  1644.      management system as one of its menu items.  Using command lines makes it
  1645.  
  1646.  
  1647.  
  1648.  
  1649.  
  1650.  
  1651.  
  1652.  
  1653.  
  1654.  
  1655.  
  1656.  
  1657.      easy to perform repetitive tasks automatically.
  1658.  
  1659.  
  1660.      >> TRANSLATION COMMAND LINE <<
  1661.  
  1662.      Once a Mask has been defined and saved to disk, the translation can be
  1663.      performed from a DOS command line.
  1664.  
  1665.      Syntax:
  1666.  
  1667.         AI mask[,[input],[output],[type],[display],[run],[confirm]] [/A] [/C]
  1668.  
  1669.      The command line parameters that follow the AI command are positional and
  1670.      separated by commas.  If a parameter is skipped, a comma must be used to
  1671.      hold its place.  The switches, /A and /C, are not positional and are not
  1672.      separated by commas.
  1673.  
  1674.      mask      Mask File name, including the path if necessary.  This is the
  1675.                only required parameter.  If no other parameters are specified,
  1676.                the parameters specified when the mask was created (or last
  1677.                saved) will be used in the translation.
  1678.  
  1679.      input     Input File name, including the path and extension if necessary.
  1680.  
  1681.      output    Output File name, including the path if necessary.  If an
  1682.                extension is specified, it will be used rather than the file
  1683.                extension AutoImport normally uses that is based on the type of
  1684.                translation.
  1685.  
  1686.      type      Type of translation to be performed.  Any of the following types
  1687.                can be specified:
  1688.  
  1689.                WKS   Lotus 1-2-3 release 1 and 1A
  1690.                WK1   Lotus 1-2-3 release 2.x
  1691.                WK3   Lotus 1-2-3 release 3.x
  1692.                WRK   Symphony release 1.0
  1693.                WR1   Symphony release 1.1, 1.2 and 2.x
  1694.                WKQ   Borland Quattro
  1695.                WQ1   Borland Quattro Pro
  1696.                XLS   Microsoft Excel
  1697.                DBF   dBase III
  1698.                DBF2  dBase II
  1699.                DBF3  dBase III
  1700.                DBF4  dBase IV
  1701.                DAT   Clarion
  1702.                DIF   Columnwise DIF
  1703.                CDIF  Columnwise DIF
  1704.                RDIF  Rowwise DIF
  1705.                SLK   SYLK or Symbolic Link
  1706.                PRN   Print Image
  1707.                ASC   Comma separated with quotes around strings
  1708.                CSV   Comma Separated Variable
  1709.                SDF   Standard Data Format
  1710.                FXD   Fixed record format without delimiters
  1711.  
  1712.  
  1713.  
  1714.  
  1715.  
  1716.  
  1717.  
  1718.  
  1719.  
  1720.  
  1721.  
  1722.  
  1723.                TSV   Tab separated variables
  1724.                TXT   ASCII text file
  1725.                LBL   Mailing label format
  1726.                WRD   Microsoft Word data document
  1727.                W50   Word Perfect 5.0 secondary merge file
  1728.                W51   Word Perfect 5.1 secondary merge file
  1729.  
  1730.      display   Specifies whether the output is to be displayed on screen during
  1731.                translation: Y for yes, N for no.  The default is Yes.
  1732.  
  1733.      program   Launches another program immediately following completion of the
  1734.                translation.  This is useful, for example, if after performing a
  1735.                translation to a spreadsheet file, the .WKS file will be opened
  1736.                with Lotus 1-2-3.
  1737.  
  1738.      confirm   Specifies whether Include Line and Exclude Line treatments must
  1739.                be confirmed manually during the translation.  Y for yes, N for
  1740.                no.  The default is No.
  1741.  
  1742.      /A        Appends the output of the translation to the end of an existing
  1743.                Output File.
  1744.  
  1745.      /C        File-combines the output of the translation into an existing
  1746.                spreadsheet Output File beginning at the starting cell declared
  1747.                during mask definition.
  1748.  
  1749.      The only required parameter is the Mask File name.  If no other parameters
  1750.      are specified, the parameters defined when the mask was created or last
  1751.      saved are used.
  1752.  
  1753.      To specify some parameters and not others, include the intervening commas
  1754.      as place holders.  This is necessary to indicate to AutoImport which of the
  1755.      options you want to use.  For example, if you want to use the name of the
  1756.      Input File stored with the mask, but want to change the name of the Output
  1757.      File, you would place two commas before the name of the new Output File. 
  1758.      Otherwise, AutoImport would interpret the file name as that of an Input
  1759.      File.  Commas, however, are unnecessary as place holders before the /A and
  1760.      /C parameters.
  1761.  
  1762.      If a parameter is not specified on the command line and the parameter has
  1763.      not been specified in the mask, the translation cannot proceed.  In such
  1764.      cases when AutoImport aborts the translation, a message is displayed on the
  1765.      screen to indicate the missing or invalid parameter(s).
  1766.  
  1767.      The following four examples illustrate the ways translations can be
  1768.      initiated using a command line.
  1769.  
  1770.  
  1771.      TRANSLATION COMMAND LINE EXAMPLE 1
  1772.  
  1773.      To perform a translation from the command line using the following
  1774.      parameters:
  1775.  
  1776.         Mask File name           MYMASK
  1777.  
  1778.  
  1779.  
  1780.  
  1781.  
  1782.  
  1783.  
  1784.  
  1785.  
  1786.  
  1787.  
  1788.  
  1789.         Input File name          AIDEMO.TXT
  1790.         Output File name         SALESDAT
  1791.         Translation type         WKS
  1792.         Display on               Y (Yes)
  1793.         Program to run           LOTUS
  1794.         Confirm include/exclude  Y (Yes)
  1795.         Append to existing file  /A
  1796.  
  1797.      The command line should read:
  1798.  
  1799.         AI MYMASK,AIDEMO.TXT,SALESDAT,WKS,Y,LOTUS,Y/A
  1800.  
  1801.  
  1802.  
  1803.      TRANSLATION COMMAND LINE EXAMPLE 2
  1804.  
  1805.      To perform a translation from the command line using the following
  1806.      parameters:
  1807.  
  1808.         Mask File name           MYMASK
  1809.         Input File name          as specified in the mask
  1810.         Output File name         as specified in the mask
  1811.         Translation type         WKS
  1812.         Display on               default to yes
  1813.         Program to run           none
  1814.         Confirm include/exclude  default to no
  1815.  
  1816.      The command line should read:
  1817.  
  1818.         AI MYMASK,,,WKS
  1819.  
  1820.  
  1821.      TRANSLATION COMMAND LINE EXAMPLE 3
  1822.  
  1823.      To perform a translation from the command line using the following
  1824.      parameters:
  1825.  
  1826.         Mask File name           MYMASK
  1827.         Input File name          as specified in the mask
  1828.         Output File name         as specified in the mask
  1829.         Translation type         as specified in the mask
  1830.         Display on               default to yes
  1831.         Program to run           none
  1832.         Confirm include/exclude  default to no
  1833.  
  1834.      The command line should read:
  1835.  
  1836.         AI MYMASK
  1837.  
  1838.  
  1839.  
  1840.      TRANSLATION COMMAND LINE EXAMPLE 4
  1841.  
  1842.      To perform a translation from the command line using the following
  1843.  
  1844.  
  1845.  
  1846.  
  1847.  
  1848.  
  1849.  
  1850.  
  1851.  
  1852.  
  1853.  
  1854.  
  1855.      parameters:
  1856.  
  1857.         Mask File name           MYMASK
  1858.         Input File name          ORIGINAL.DAT
  1859.         Output File name         GOOD
  1860.         Translation type         as specified in the mask
  1861.         Display on               default to yes
  1862.         Program to run           none
  1863.         Confirm include/exclude  default to no
  1864.         File-combine             /C
  1865.  
  1866.      The command line should read:
  1867.  
  1868.         AI MYMASK,ORIGINAL.DAT,GOOD/C
  1869.  
  1870.  
  1871.      >> UTILITIES COMMAND LINE <<
  1872.  
  1873.      The running of a utility can be initiated from a DOS command line.
  1874.  
  1875.      Syntax:
  1876.          AIUTIL option[=v1[,v2]] input [output] [/W]
  1877.  
  1878.      The option, input file name and output file name parameters are positional
  1879.      and separated by spaces.
  1880.  
  1881.      option    Option or utility to be performed.  AutoImport offers eleven
  1882.                options or utilities.
  1883.  
  1884.                L     Line-split
  1885.                R     Record-split
  1886.                T     Tab-expansion
  1887.                C     CSV (Comma Separated Variable) to columnar
  1888.                F     Fixed length records
  1889.                S     Statistics
  1890.                U     Unstack
  1891.                D     Dbase to ASCII columnar
  1892.                H     Header of dBase to ASCII file
  1893.                A     ASCII to EBCDIC
  1894.                E     EBCDIC to ASCII
  1895.  
  1896.                The options and examples of their uses are described later in
  1897.                this section.
  1898.  
  1899.      v1 & v2   Required and/or optional values.  Whether these values are used
  1900.                depends on the utility option specified.
  1901.  
  1902.      input     Input File name, including the path and extension if necessary.
  1903.  
  1904.      output    Output File name, without an extension, but including any drive
  1905.                and path specifications necessary to tell AutoImport where to
  1906.                find the file, if an existing file, and where to place the file,
  1907.                if a new file.  If an Output File name is not specified, the
  1908.                Output Files will have the same path and name as the Input File. 
  1909.  
  1910.  
  1911.  
  1912.  
  1913.  
  1914.  
  1915.  
  1916.  
  1917.  
  1918.  
  1919.  
  1920.  
  1921.                AutoImport provides unique, sequential file extensions (.A1
  1922.                through .A99), as some options produce more than one Output File.
  1923.  
  1924.      /W        Includes a Warning if AutoImport detects that the Output File
  1925.                name specified already exists.  Stops the program and prompts
  1926.                whether to proceed.  If not specified, any file(s) having the
  1927.                same name as the Output File will be overwritten.
  1928.  
  1929.      AutoImport offers eleven options or utilities.  Descriptions of these
  1930.      options and examples of their use are provided below:
  1931.  
  1932.      L=v1      LINE-SPLIT     Splits the Input File vertically by producing two
  1933.                               or more Output Files with shorter record lengths. 
  1934.                               The value v1 is the maximum record length in the
  1935.                               Output Files.
  1936.  
  1937.                               For example, to split the file INFILE.DAT into
  1938.                               files with a record length of 80 and output the
  1939.                               data into files with the name of OUTFILE, the
  1940.                               command line would read as follows:
  1941.  
  1942.                                    AIUTIL L=80 INFILE.DAT OUTFILE
  1943.  
  1944.                               The number of files created depends on the length
  1945.                               of the Input File and the number of characters
  1946.                               specified as the maximum length for each Output
  1947.                               File.  The first Output File is named OUTFILE.A1,
  1948.                               the second OUTFILE.A2, etc.
  1949.  
  1950.      R=v1      RECORD-SPLIT   Splits the Input File into two or more files with
  1951.                               fewer records in each Output File.  The value v1
  1952.                               is the maximum number of records in the Output
  1953.                               Files.
  1954.  
  1955.                               For example, to split the file INFILE.DAT into
  1956.                               files with no more than 8192 records per file, the
  1957.                               command line would read as follows:
  1958.  
  1959.                                    AIUTIL R=8192 INFILE.DAT
  1960.  
  1961.                               The number of files created depends on the length
  1962.                               of the Input File and the number of records
  1963.                               specified as the maximum for each Output File. 
  1964.                               The first Output File is named INFILE.A1, the
  1965.                               second INFILE.A2, etc.
  1966.  
  1967.      T=v1      TABS           Expands tab characters by the value indicated by
  1968.                               v1.  This value sets the number of spaces to use
  1969.                               as tab stops.
  1970.  
  1971.                               For example, to expand the tabs in the file
  1972.                               INFILE.DAT with tab stops of 8, the command line
  1973.                               would read as follows:
  1974.  
  1975.  
  1976.  
  1977.  
  1978.  
  1979.  
  1980.  
  1981.  
  1982.  
  1983.  
  1984.  
  1985.  
  1986.  
  1987.                                    AIUTIL T=8 INFILE.DAT 
  1988.  
  1989.      C         CSV            Converts a comma separated variable file into a
  1990.                               file with fields of fixed length.
  1991.  
  1992.                               For example, to convert the file INFILE.DAT, the
  1993.                               command line would read as follows:
  1994.  
  1995.                                    AIUTIL C INFILE.DAT
  1996.  
  1997.      F=v1[,v2] FIXED          Converts a fixed length record file that does not
  1998.                               have record separators into a sequential file with
  1999.                               record separators.  The value v1 is the length of
  2000.                               each record in characters.  The optional value v2
  2001.                               is the number of characters to skip at the
  2002.                               beginning of the Input File before outputing
  2003.                               records.  This option is useful when the first
  2004.                               part of the file contains header information or
  2005.                               other data that should not be translated.
  2006.  
  2007.                               For example, to convert the file INFILE.DAT into
  2008.                               sequential records with a length of 16 and to skip
  2009.                               the first 18 bytes in the file, the command line
  2010.                               would read as follows:
  2011.  
  2012.                               AIUTIL F=16,18 INFILE.DAT
  2013.  
  2014.      S         STATISTICS     Displays statistics about the Input File.  The
  2015.                               statistics include the length of the longest line,
  2016.                               the number of lines, and whether the file contains
  2017.                               tab characters.
  2018.  
  2019.                               For example, to display statistics about the file
  2020.                               INFILE.DAT, the command line would read as follows
  2021.                               as follows:
  2022.  
  2023.                                    AIUTIL S INFILE.DAT
  2024.  
  2025.      U=v1[,v2] UNSTACK        Unstacks a file containing multiple lines that
  2026.                               logically go together, but are on separate lines. 
  2027.                               The value v1 specifies the number of lines to be
  2028.                               combined into a single line.  The optional         
  2029.                               value v2 is the number of lines to skip at the
  2030.                               beginning of the file before combining lines. 
  2031.                               This option is useful if the first part of the
  2032.                               file contains header information or other data
  2033.                               that should not be translated.
  2034.  
  2035.                               For example, to unstack the file INFILE.DAT by
  2036.                               combining each pair of lines in the Input File,
  2037.                               skipping the first 5 lines, the command line would
  2038.                               read:
  2039.                                    AIUTIL U=2,5 INFILE.DAT
  2040.  
  2041.  
  2042.  
  2043.  
  2044.  
  2045.  
  2046.  
  2047.  
  2048.  
  2049.  
  2050.  
  2051.  
  2052.  
  2053.      D         DBASE          Creates a sequential file that is usable by
  2054.                               AutoImport from a dBase II, III or IV data file.
  2055.  
  2056.                               For example, to convert the dBase file INFILE.DBF
  2057.                               to a sequential file, the command line would read
  2058.                               as follows:
  2059.  
  2060.                                    AIUTIL D INFILE.DBF
  2061.  
  2062.      H         HEADER         Outputs the dBase file structure contained in the
  2063.                               database file's header record.
  2064.  
  2065.                               For example, to output the structure of the dBase
  2066.                               file INFILE.DBF, the command line would read as
  2067.                               follows:
  2068.  
  2069.                                    AIUTIL H INFILE.DBF
  2070.  
  2071.      A         ASCII TO EBCDIC
  2072.                               Converts a file whose characters are encoded in
  2073.                               ASCII (used by PC's) into a file encoded in EBCDIC
  2074.                               (used by IBM midrange and mainframe computers).
  2075.  
  2076.                               For example, to convert the ASCII file INFILE.DAT
  2077.                               to an EBCDIC file, the command line would read as
  2078.                               follows:
  2079.  
  2080.                                    AIUTIL A INFILE.DAT
  2081.  
  2082.      E         EBCDIC TO ASCII
  2083.                               Converts a file whose characters are encoded in
  2084.                               EBCDIC into a file encoded in ASCII, that is
  2085.                               usable by AutoImport.
  2086.  
  2087.                               For example, to convert the EBCDIC file INFILE.DAT
  2088.                               to an ASCII file, the command line would read as
  2089.                               follows:
  2090.  
  2091.                                    AIUTIL E INFILE.DAT
  2092.  
  2093.  
  2094.  
  2095.      >> PRINTER INTERCEPTOR COMMAND LINE <<
  2096.  
  2097.      The Printer Interceptor terminate and stay resident (TSR) program that
  2098.      intercepts output going to a printer port and redirects the output to a
  2099.      file can be installed in memory from a DOS command line.  Additionally, the
  2100.      current installation in memory can be modified from the DOS command line.
  2101.  
  2102.      Syntax:
  2103.  
  2104.           PI printer filename [/A][/Bv][/N][/P][/Q][/Tv][/S][/U]
  2105.  
  2106.      The printer and file name parameters are positional and separated by
  2107.  
  2108.  
  2109.  
  2110.  
  2111.  
  2112.  
  2113.  
  2114.  
  2115.  
  2116.  
  2117.  
  2118.  
  2119.      spaces.  The switches are not separated by spaces, and can be in any order.
  2120.  
  2121.      printer   Printer port to be intercepted.  Valid printer ports are PRN,
  2122.                LPT1, LPT2, and LPT3.  To intercept a serial port, the DOS MODE
  2123.                command must be used to redirect output to one of the parallel
  2124.                ports before starting Printer Interceptor.
  2125.  
  2126.      filename  Capture File name, including the drive, path and extension if
  2127.                necessary.  This file will receive the information intercepted
  2128.                from the printer port.  If no drive or path is specified, the
  2129.                Capture File is placed in the current directory.  If no extension
  2130.                is provided, PRN will be used.
  2131.  
  2132.      /A        Appends the intercepted data to the end of the Capture File.  The
  2133.                default is to overwrite the file if it exists.
  2134.  
  2135.      /Bv       Specifies the size of the memory buffer with "v" that Printer
  2136.                Interceptor uses in writing to the Capture File.  The larger the
  2137.                buffer, the faster Printer Interceptor operates.  The default
  2138.                buffer size is 5,120 bytes.  The buffer can be no larger than
  2139.                62,000 bytes.
  2140.  
  2141.                The larger the buffer size, the more memory that is required to
  2142.                install printer interceptor, and the less memory that is
  2143.                available for other applications.  With a larger buffer size,
  2144.                Printer Interceptor physically writes to the disk less often.
  2145.  
  2146.                NOTE:   If the buffer size is not adequate, some applications on
  2147.                fast computers may overflow the buffer before Printer Interceptor
  2148.                can write its contents to disk.  If this occurs, Printer
  2149.                Interceptor beeps and some data will be missing from the Capture
  2150.                File.
  2151.  
  2152.      /N        Disables the hot-key combination of <Alt-Shift-P> that toggles
  2153.                interception on and off.
  2154.  
  2155.                NOTE:   The /N switch should be specified if another TSR is using
  2156.                the same hot-key combination of <Alt-Shift-P>.
  2157.  
  2158.      /P        Prints the data while intercepting to a file.  The default mode
  2159.                only captures the data to the file and does not print it.  The /P
  2160.                option should only be used if a printer is connected to the port
  2161.                from which output is being intercepted.
  2162.  
  2163.      /Q        Selects quiet operation.  To confirm that it is working, Printer
  2164.                Interceptor defaults to audible operation (speaker buzzes during
  2165.                interception).
  2166.  
  2167.      /Tv       Times out after the number of seconds specified with "v" after
  2168.                interception of the last character.  When time out occurs, the
  2169.                capture buffer is flushed and the Capture File is closed. 
  2170.                Printer Interceptor writes from its buffer to the Capture File if
  2171.                the buffer fills, if time out occurs, or under certain other
  2172.                conditions.  The time out can be set to any number of seconds
  2173.  
  2174.  
  2175.  
  2176.  
  2177.  
  2178.  
  2179.  
  2180.  
  2181.  
  2182.  
  2183.  
  2184.  
  2185.                between 0 and 3600 (1 hour).  The default is 30 seconds.
  2186.  
  2187.                Time out does not stop printer interception.  Time out has two
  2188.                uses.  It can be used to verify that the intercepted data is
  2189.                physically written to the disk for protection from loss of
  2190.                electrical power.  It is also used with interception of date and
  2191.                time stamped files (discussed later in this section).
  2192.  
  2193.      /S        Stops interception by deactivating Printer Interceptor.
  2194.  
  2195.      /U        Un-installs or removes Printer Interceptor from memory.
  2196.  
  2197.  
  2198.      PRINTER INTERCEPTOR COMMAND LINE EXAMPLE
  2199.  
  2200.      Following is an example of a command line for intercepting output normally
  2201.      routed to LPT1.  This line sends the data to the file named CAPTURE.DAT in
  2202.      the directory MYDIR, as well as sending it to the printer.
  2203.  
  2204.           PI LPT1 \MYDIR\CAPTURE.DAT /P
  2205.  
  2206.  
  2207.      CHANGING PRINTER INTERCEPTOR'S SETTINGS
  2208.  
  2209.      Printer Interceptor does not have to be stopped in order to change the port
  2210.      from which data is being intercepted or the file that should receive the
  2211.      data.  Simply, reissue the PI command with the printer and file name
  2212.      parameters, and any desired switches.
  2213.  
  2214.  
  2215.      DISPLAYING THE CURRENT SETTINGS
  2216.  
  2217.      To see the current settings for Printer Interceptor after it is installed
  2218.      in memory, issue the PI command with no parameters.
  2219.  
  2220.  
  2221.      TEMPORARILY STOPPING PRINTER INTERCEPTOR
  2222.  
  2223.      After Printer Interceptor is installed, it can be temporarily deactivated
  2224.      from the DOS command line by issuing the PI /S command.  All interception
  2225.      stops.  To restart Printer Interceptor from the DOS command line, simply
  2226.      re-issue the Printer Interceptor command with the desired parameters.
  2227.  
  2228.      To temporarily disable Printer Interceptor by using the hot-key, press
  2229.      <Alt-Shift-P>.  To re-enable Printer Interceptor, press <Alt-Shift-P>
  2230.      again.  Two beeps indicate when Printer Interceptor is disabled; one beep
  2231.      indicates when Printer Interceptor is re-enabled.
  2232.  
  2233.      If Printer Interceptor has been deactivated with the /S option, the
  2234.      <Alt-Shift-P> key combination will beep, but has no effect.
  2235.  
  2236.  
  2237.      DATE AND TIME STAMPED FILES
  2238.  
  2239.  
  2240.  
  2241.  
  2242.  
  2243.  
  2244.  
  2245.  
  2246.  
  2247.  
  2248.  
  2249.  
  2250.  
  2251.      Printer Interceptor can create Capture Files that have the date and time of
  2252.      interception as part of the file name.  A new date and time stamped file is
  2253.      started after each "time out" as determined by the value of the /T switch,
  2254.      which defaults to 30 seconds.
  2255.  
  2256.      To activate the date and time stamp feature replace the file name on the
  2257.      command line with "D*".  Examples:
  2258.  
  2259.         PI PRN D*
  2260.  
  2261.         PI LPT2 A:\D*.DAT
  2262.  
  2263.         PI LPT1 D*.  /T5
  2264.  
  2265.      The first example places the intercepted output into date and time stamped
  2266.      files in your current directory with a ".PRN" extension.  The second
  2267.      example captures the output going to LPT2 and puts it into files on the A:
  2268.      drive with an extension of ".DAT".  The third example intercepts LPT1 and
  2269.      puts the output into date and time stamped files in the current directory
  2270.      without an extension; the interception "times out" 5 seconds after the last
  2271.      character is received.
  2272.  
  2273.      The name of the Capture File is in the form of MMDDhhmm, where the first 2
  2274.      characters are the month number.  The next 2 characters are the day number,
  2275.      followed by the hour and the minutes.  If the extension is not provided, it
  2276.      will default to ".PRN".  For example, a date and time stamped file created
  2277.      on October 15, 1991 at 1:30 PM would be 10151330.PRN.
  2278.  
  2279.      Printer Interceptor creates a new file with a new date and time stamp if it
  2280.      times out after the last character is intercepted or if Printer Interceptor
  2281.      is temporarily disabled with the <Alt-Shift-P> key combination.
  2282.  
  2283.  
  2284.      UNINSTALLING PRINTER INTERCEPTOR
  2285.  
  2286.      After Printer Interceptor is installed, it can be uninstalled from the DOS
  2287.      command line by issuing the PI /U command.  This removes Printer
  2288.      Interceptor from memory and normal operation of the printer will be
  2289.      resumed.
  2290.  
  2291.  
  2292.      -------------------------  END OF DOCUMENT -------------------------------
  2293.  
  2294.  
  2295.  
  2296.  
  2297.  
  2298.  
  2299.  
  2300.  
  2301.  
  2302.  
  2303.  
  2304.  
  2305.  
  2306.  
  2307.  
  2308.  
  2309.  
  2310.  
  2311.